/* ************************************************************************

   Copyright:

   License:

   Authors:

************************************************************************ */

qx.Theme.define("bip.theme.Appearance",
{
  extend : qx.theme.modern.Appearance,

  appearances :
  {
  	/*
    ---------------------------------------------------------------------------
      CATEGORY-VIEW
    ---------------------------------------------------------------------------
    */
  	
  	"category-view/slider" : "slider",
    "category-view/slider/knob" : "scrollbar/slider/knob",
    "category-view/description" : "groupbox/legend",
    "category-view/description-prefix" : "groupbox/legend",
    	
    	/*
      ---------------------------------------------------------------------------
        WINDOWS
      ---------------------------------------------------------------------------
      */
  	// DIALOG
  	"wdialog" : "window",
  	
  	"wdialog/actionbar":
  	{
        style : function(states)
        {
          return {
            padding   : [ 2, 6 ],
            decorator : "window-statusbar",
            minHeight : 18
          };
        }
      },
  	
  	"wdialog/header" : 
  	{
        style : function(states)
        {
          return {
   			decorator : "window-head",
  			minHeight: 20
          };
        }
      },
  	
  	"wdialog/header-image":
  	{
        style : function(states)
        {
          return {
            opacity : !states.replacement && states.disabled ? 0.3 : 1,
  		  alignX	  : "center",
  		  alignY      : "middle",
  		  padding: 5
          }
        }
      },
  	
  	"wdialog/header-description":
  	{
        style : function(states)
        {
          return {
  		  alignX	  : "left",
            alignY      : "top",
            	paddingTop: 3,
        		  paddingLeft: 10
          };
        }
  	},
  	
  	"wdialog/header-title": 
  	{
        style : function(states)
        {
          return {
  		  textColor : "text-title",
            font      : "bold",
  		  alignX	  : "left",
  		  textAlign    : "left",
            alignY      : "top",
  		  paddingTop: 8,
  		  paddingLeft: 8
          };
        }
  	},
  	
  	"locallist":"selectbox"
  	
  	
    
  }
});